package unilearn.vo;

public class GroupMember implements java.io.Serializable {

    private Integer id;
    private int personId;
    private int groupId;

    public GroupMember() {
        id = -1;
        personId = -1;
        groupId = -1;
    }

    public GroupMember(int personId, int groupId) {
        this.personId = personId;
        this.groupId = groupId;
    }

    public Integer getId() {
        return this.id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public int getPersonId() {
        return this.personId;
    }

    public void setPersonId(int personId) {
        this.personId = personId;
    }

    public int getGroupId() {
        return this.groupId;
    }

    public void setGroupId(int groupId) {
        this.groupId = groupId;
    }

    @Override
    public String toString() {
        return "GroupMember{" + "id=" + id + ", personId=" + personId + ", groupId=" + groupId + '}';
    }
}
